package com.buddy.design.pattern._10observer.guava;

import com.google.common.eventbus.Subscribe;

public class GuavaEvent {

    @Subscribe
    public void subscribe(String string){
        System.out.println("执行subscribe方法，"+string);
    }
}
